package cn.tedu.ivosback.maintenance.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class MaintenanceParam {
    @ApiModelProperty(value = "维修单编号")
    private Long id;
    @ApiModelProperty(value = "维修材料")
    private String material;
    @ApiModelProperty(value = "维修时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date repairTime;
    @ApiModelProperty(value = "维修项目")
    private String item;
    @ApiModelProperty(value = "维修费用")
    private Double fee;
    @ApiModelProperty(value = "维修地点")
    private String addr;
    @ApiModelProperty(value = "维修车辆")
    private Long vehicleId;
    @ApiModelProperty(value = "车辆号牌")
    private String license;
    @ApiModelProperty(value = "维修人员编号")
    private Long userId;
    @ApiModelProperty(value = "维修人员")
    private String username;
    @ApiModelProperty(value = "维修状态")
    private String status;
    @ApiModelProperty(value = "创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @ApiModelProperty(value = "更新时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
}
